package main

import (
	"fmt"
	"github.com/urfave/cli"
)

var (
	gitCommit string
	gitDate   string
	buildDate string
)

func version(ctx *cli.Context) error {
	fmt.Println("gitCommit:", gitCommit)
	fmt.Println("gitDate:", gitDate)
	fmt.Println("buildDate:", buildDate)
	return nil
}

var (
	versionCommand = cli.Command{
		Action: version,
		Name:   "version",
		Usage:  "print application version",
	}
)
